<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{title}}</title>
<link rel="stylesheet" type="text/css" href="{{ static_url('css/base.css') }}" />
<link href="{{ static_url('css/jquery-ui.css') }}" rel="stylesheet" type="text/css" media="all" />
<script src="{{ static_url('js/jquery-1.5.1.js') }}" type="text/javascript"></script>
<script src="{{ static_url('js/jquery-ui.min.js') }}" type="text/javascript"></script>
</head>

<body>

<div class="container">
  <div class="header"><a href="#"><img src="{{static_url("image/logo.jpg") }}" alt={{title}} name="Insert_logo" width="180" height="90" id="Insert_logo" style="background-color: #C6D580; display:block;" /></a> 
    <!-- end .header --></div>
  <div class="sidebar1">
           <ul class="nav">
              {% for item in items %}
                 <li>
                    <a href="http://{{domain}}/index/{{escape(item.link)}}/">{{ escape(item.menu_name)}}</a>
                 </li>
              {% end %}
            </ul>
            <form action="http://{{domain}}/index/" method="post">
                <input type="submit" value="{{ _("注销") }}"/>
            </form>
          <!-- end .content --></div>
          {% block body_page%}
          {% end %}
  <div class="footer">
    <p>欢迎{{username}}使用。</p>
    <p></p>
    <p>WEB:www.simonzhang.net   Email:simon-zzm@163.com</p>
    <!-- end .footer --></div>
  <!-- end .container --></div>
</body>
</html>

